﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ParkingLot.Entitys
{
    /// <summary>
    /// 界面提示消息
    /// </summary>
    [Serializable]
    public class PromptMsg
    {
        /// <summary>
        /// 消息内容
        /// </summary>
        public string Content;

        public static implicit operator PromptMsg(string message)
        {
            PromptMsg prompt = new PromptMsg();
            prompt.Content = message;
            return prompt;
        }
    }
}
